#define _CRT_SECURE_NO_WARNINGS 1
#include"test.h"
//void Time::Input(class Time t1)
//{
//	cin >> t1.hour;
//	cin >> t1.min;
//	cin >> t1.sec;
//}
//void Time:: Inout(class Time t1)
//{
//	cout << t1.hour<<':';
//	cout << t1.min<<':';
//	cout << t1.sec<<':'<<endl;
//}
int main()
{
	Time t1;
	/*cin >> t1.hour;
	cin >> t1.min;
	cin >> t1.sec;
	cout << t1.hour << ':';
	cout << t1.min << ':';
	cout << t1.sec<< endl;*/
	t1.hour = 11;
	t1.min = 11;
	t1.sec= 11;
	Time& t2 = t1;
	t1.Input(t2);
	t1.Inout(t2);
	return 0;
}